//
//  ProgressGradientView.h
//  DistributorAB
//
//  Created by 主事丫环 on 2019/8/22.
//  Copyright © 2019 主事丫环. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
NS_ASSUME_NONNULL_BEGIN

@interface ProgressGradientView : UIView {
    CAShapeLayer *mask;
    NSTimer *animationTimer;
    int animationTimerCount;
    CGFloat gradientLocations[3];
}

- (void)setProgress:(float)progress;

- (void)setProgress:(float)progress animated:(BOOL)animated;

@end

NS_ASSUME_NONNULL_END
